package fzdy.controller.dto;

/**
 * Created by Administrator on 2018/1/5 0005.
 */
public class StreetDTO {
    private Integer id;
    private String streetName;
    private String[] centerSpot;
    private String[] spotLng;
    private String[] spotLat;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public String[] getCenterSpot() {
        return centerSpot;
    }

    public void setCenterSpot(String location) {
        String[] list = null;
        if (location!=null) {
            list = location.split(",");
        }
        this.centerSpot = list;
    }

    public String[] getSpotLng() {
        return spotLng;
    }

    public void setSpotLng(String spotLngString) {
        String[] list = null;
        if (spotLngString!=null) {
            list = spotLngString.split(",");
        }
        this.spotLng = list;
    }

    public String[] getSpotLat() {
        return spotLat;
    }

    public void setSpotLat(String spotLat) {
        String[] list = null;
        if (spotLat != null) {
            list = spotLat.split(",");
        }
        this.spotLat = list;
    }
}
